WCPM\Classes\Helpers C

Total Complexity 112
Dependencies 7
Dependents 14
Total lines 470
Lines of code 269
Logical lines of code 170
Comment lines 111
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
get_user_data()
D
39 48 42
generic_sanitization()
S
54 7 23
is_orders_page()
S
69 5 5
is_admin_page()
S
65 4 9
get_random_ip()
S
63 3 10
is_allowed_notification_page()
S
64 3 9
get_facebook_fbevents_js_url()
S
64 3 10
is_dashboard()
S
63 3 10
is_iframe()
S
68 3 7
hash_string()
S
70 2 6
get_user_country_code()
S
71 2 6
get_percentage()
S
77 2 3
get_user_ip()
S
64 2 9
is_wc_hpos_enabled()
S
77 2 3
get_e164_formatted_phone_number()
S
65 2 9
get_user_object_first_name()
S
66 1 8
get_user_object_last_name()
S
66 1 8
get_user_object_phone()
S
62 1 10
get_user_object_city()
S
65 1 8
get_user_object_state()
S
65 1 8
get_user_object_postcode()
S
67 1 7
get_user_object_email()
S
66 1 8
get_user_data_object()
S
75 1 4
get_user_object_country()
S
68 1 7
get_input_vars_sanitized()
S
75 1 4
trim_string()
S
75 1 4
wp_strtotime_to_unix_timestamp()
S
77 1 3
has_scheduled_action()
S
78 1 3
get_visitor_country()
S
75 1 4
is_localhost()
S
77 1 3
clean_product_name_for_output()
S
78 1 3
is_url()
S
79 1 3
is_email()
S
79 1 3
get_input_vars()
S
75 1 4
is_edit_order_page()
S
79 1 3
should_all_s2s_requests_be_sent_blocking()
S
78 1 3